/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sdd.facades.view;

import com.sdd.plains.CustomerPlain;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author T
 */
@Remote
public interface CustomerViewFacade {
    public CustomerPlain getCustomer(Long id);
    public List<CustomerPlain> getAllCustomers();
    public CustomerPlain addCustomer(CustomerPlain plain);
    public CustomerPlain getCustomerByLogin(String Login);
    public CustomerPlain getCustomerByEmail(String Email);
    public boolean existEmail(String Email);
    public boolean existLogin(String Login);
    
    
}
